<?php

require_once PHP_UI_PATH . DS . 'UIControl.php';

class Hidden extends UIControl {

    function __construct() {
        $this->setVisible(false);
    }

    protected function getControlRendering() {
        $render = "<input class='{$this->getStyleClasses()}' type='hidden' name='Values[{$this->getName()}]' value='{$this->getValue()}'/>";
        return $render;
    }

}

?>
